Skip to content

refactor(system-banner): use relative units for system-banner#1861

Merged
dr-itz merged 1 commit intomainfrom
feat/system-banner-relative-sizing
Apr 15, 2026
Merged

refactor(system-banner): use relative units for system-banner#1861
dr-itz merged 1 commit intomainfrom
feat/system-banner-relative-sizing

Conversation

@spliffone
Copy link
Copy Markdown
Member

@spliffone spliffone commented Apr 14, 2026

@spliffone spliffone requested review from a team as code owners April 14, 2026 09:37
@spliffone spliffone added this to the 49.x milestone Apr 14, 2026
@spliffone spliffone added the enhancement Topics that make the project better label Apr 14, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the system banner styling by introducing a new padding variable and calculating the banner height dynamically using calc(). Feedback was provided to prefix the new padding variable with $si- to ensure naming consistency with other variables in the theme file.

Comment thread projects/element-theme/src/styles/variables/_si-vars.scss Outdated
Comment thread projects/element-ng/system-banner/system-banner.component.scss Outdated
@dr-itz
Copy link
Copy Markdown
Contributor

dr-itz commented Apr 14, 2026

Gemini has a point with variable names, otherwise 👍

@spliffone spliffone force-pushed the feat/system-banner-relative-sizing branch from 93dd8ab to 8458896 Compare April 14, 2026 18:10
@dr-itz dr-itz added this pull request to the merge queue Apr 15, 2026
Merged via the queue into main with commit 416b5c5 Apr 15, 2026
11 checks passed
@dr-itz dr-itz deleted the feat/system-banner-relative-sizing branch April 15, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Topics that make the project better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants